package com.xnyzc.lhy.didi.feign.fallback.invoice;

import com.xnyzc.lhy.common.penum.invoice.EInvoiceErrorCode;
import com.xnyzc.lhy.didi.feign.Invoice.IOaSysInvoiceApplyService;
import com.xnyzc.lhy.finance.entity.invoice.response.*;
import com.xnyzc.lhy.finance.entity.params.invoice.InvoiceApplyForDiDiParam;
import com.xnyzc.lhy.finance.entity.params.invoice.InvoiceInvalidDiDiParam;
import com.xnyzc.lhy.finance.entity.params.invoice.InvoiceQueryDiDiParam;
import com.xnyzc.lhy.finance.entity.params.invoice.ResendInvoiceDiDiParam;
import com.xnyzc.lhy.finance.entity.params.invoice.InvoiceInvalidDiDiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
/**
 * <p>
 * 发票服务
 * </p>
 *
 * @author haoyfa
 * @since 2019-10-25
 */
@Slf4j
@Service
public class OaSysInvoiceApplyServiceImpl implements IOaSysInvoiceApplyService {
    @Override
    public InvoiceApplyResult getInvoiceApplyForDiDi(InvoiceApplyForDiDiParam invoiceApplyForDiDiParam) {
        InvoiceApplyResult invoiceApplyResult = new InvoiceApplyResult();
        invoiceApplyResult.setIsSuccess(false);
        invoiceApplyResult.setInvoiceErrorResponse(new InvoiceErrorResponse(EInvoiceErrorCode.bizServiceError));

        return invoiceApplyResult;
    }

    @Override
    public InvoiceQueryResult getInvoiceQueryDiDi(InvoiceQueryDiDiParam invoiceQueryDiDiParam) {
        InvoiceQueryResult invoiceQueryResult = new InvoiceQueryResult();
        invoiceQueryResult.setIsSuccess(false);
        invoiceQueryResult.setInvoiceErrorResponse(new InvoiceErrorResponse(EInvoiceErrorCode.bizServiceError));
        return invoiceQueryResult;
    }

    @Override
    public InvoiceResendResult getResendInvoiceDiDi(ResendInvoiceDiDiParam resendInvoiceDiDiParam) {
        InvoiceResendResult invoiceResendResult = new InvoiceResendResult();
        invoiceResendResult.setIsSuccess(false);
        invoiceResendResult.setInvoiceErrorResponse(new InvoiceErrorResponse(EInvoiceErrorCode.bizServiceError));
        return invoiceResendResult;
    }

    @Override
    public InvoiceInvalidResult getInvoiceInvalidDiDi(InvoiceInvalidDiDiParam invoiceInvalidDiDiParam) {
        InvoiceInvalidResult invoiceInvalidResult = new InvoiceInvalidResult();
        invoiceInvalidResult.setIsSuccess(false);
        invoiceInvalidResult.setInvoiceErrorResponse(new InvoiceErrorResponse(EInvoiceErrorCode.bizServiceError));
        return invoiceInvalidResult;
    }

    @Override
    public InvoiceApplyResult getInvoiceAaApplyForDiDi(InvoiceApplyForDiDiParam invoiceApplyForDiDiParam) {
        InvoiceApplyResult invoiceApplyResult = new InvoiceApplyResult();
        invoiceApplyResult.setIsSuccess(false);
        invoiceApplyResult.setInvoiceErrorResponse(new InvoiceErrorResponse(EInvoiceErrorCode.bizServiceError));

        return invoiceApplyResult;
    }

    @Override
    public InvoiceQueryResult getInvoiceAaQueryDiDi(InvoiceQueryDiDiParam invoiceQueryDiDiParam) {
        InvoiceQueryResult invoiceQueryResult = new InvoiceQueryResult();
        invoiceQueryResult.setIsSuccess(false);
        invoiceQueryResult.setInvoiceErrorResponse(new InvoiceErrorResponse(EInvoiceErrorCode.bizServiceError));
        return invoiceQueryResult;
    }

    @Override
    public InvoiceInvalidResult getInvoiceAaInvalidDiDi(InvoiceInvalidDiDiParam invoiceInvalidDiDiParam) {
        InvoiceInvalidResult invoiceInvalidResult=new InvoiceInvalidResult();
        invoiceInvalidResult.setIsSuccess(false);
        invoiceInvalidResult.setInvoiceErrorResponse(new InvoiceErrorResponse(EInvoiceErrorCode.bizServiceError));
        return invoiceInvalidResult;
    }


}
